package com.jhnote.pojo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

@Getter
@Setter
@AllArgsConstructor
@ToString
public class Teacher {

    private int id;
    private String name;
    private String email;
    private List<Student> students;

    public Teacher() {
    }
}
